package com.ruoyi.db.monitor.domain;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 定时任务调度日志表 sys_job_log
 *
 * @author ruoyi
 */
@ApiModel("定时任务调度日志表实体类")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysJobLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @Excel(name = "日志序号")
    private Long jobLogId;

    @ApiModelProperty("任务名称")
    @Excel(name = "任务名称")
    private String jobName;

    @ApiModelProperty("任务组名")
    @Excel(name = "任务组名")
    private String jobGroup;

    @ApiModelProperty("调用目标字符串")
    @Excel(name = "调用目标字符串")
    private String invokeTarget;

    @ApiModelProperty("日志信息")
    @Excel(name = "日志信息")
    private String jobMessage;

    @ApiModelProperty("执行状态（0正常 1失败）")
    @Excel(name = "执行状态", readConverterExp = "0=正常,1=失败")
    private String status;

    @ApiModelProperty("异常信息")
    @Excel(name = "异常信息")
    private String exceptionInfo;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("停止时间")
    private Date stopTime;
}
